package org.summerframework.component.security.spring.annotation;

import org.springframework.core.annotation.AliasFor;

/**
 * @author 石超
 * @version v1.0.0
 */
public @interface ScopeRequired {
    /**
     * @return oauth需要的权限
     */
    @AliasFor("code")
    String[] value() default "";

    /**
     * @return oauth需要的权限
     */
    @AliasFor("value")
    String[] code() default "";
}
